package com.ruoyi.zsyh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.List;

/**
 * 配件店自有配件管理对象 zsyh_store_partsself
 * 
 * @author yuexl
 * @date 2022-02-28
 */
public class ZsyhStorePartsself extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 配件店ID */
    @Excel(name = "配件店ID")
    private String storeId;

    private String userId;

    /** 配件名称 */
    @Excel(name = "配件名称")
    private String partsName;

    /** 配件编码 */
    @Excel(name = "配件编码")
    private String partsNumber;

    /** 配件分类ID */
    @Excel(name = "配件分类ID")
    private String partsType;

    /** 配件描述 */
    @Excel(name = "配件描述")
    private String partsDetails;

    /** 配件 主图 */
    @Excel(name = "配件 主图")
    private String partsImages;

    /** 是否热门推荐（1是0否） */
    @Excel(name = "是否热门推荐", readConverterExp = "1=是0否")
    private String isHotPush;

    /** 是否上架（1上架0下架） */
    @Excel(name = "是否上架", readConverterExp = "1=上架0下架")
    private String isShow;

    /** 排序数字越大，排序约靠前 */
    @Excel(name = "排序数字越大，排序约靠前")
    private Long partsSoft;

    /** 分类 1配件 2整机 */
    @Excel(name = "分类 1配件 2整机")
    private String partsClassification;

    /** 配件的单位 */
    @Excel(name = "配件的单位")
    private String partsUnit;

    private String storeName;

    private String partsTypeName;

    //规格最小价格
    private BigDecimal minPrice;

    //规格最大价格
    private BigDecimal maxPrice;

    private List<ZsyhStoreAttributeself> zsyhStorePartsattributeList;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setStoreId(String storeId) 
    {
        this.storeId = storeId;
    }

    public String getStoreId() 
    {
        return storeId;
    }
    public void setPartsName(String partsName) 
    {
        this.partsName = partsName;
    }

    public String getPartsName() 
    {
        return partsName;
    }
    public void setPartsNumber(String partsNumber) 
    {
        this.partsNumber = partsNumber;
    }

    public String getPartsNumber() 
    {
        return partsNumber;
    }
    public void setPartsType(String partsType) 
    {
        this.partsType = partsType;
    }

    public String getPartsType() 
    {
        return partsType;
    }
    public void setPartsDetails(String partsDetails) 
    {
        this.partsDetails = partsDetails;
    }

    public String getPartsDetails() 
    {
        return partsDetails;
    }
    public void setPartsImages(String partsImages) 
    {
        this.partsImages = partsImages;
    }

    public String getPartsImages() 
    {
        return partsImages;
    }
    public void setIsHotPush(String isHotPush) 
    {
        this.isHotPush = isHotPush;
    }

    public String getIsHotPush() 
    {
        return isHotPush;
    }
    public void setIsShow(String isShow) 
    {
        this.isShow = isShow;
    }

    public String getIsShow() 
    {
        return isShow;
    }
    public void setPartsSoft(Long partsSoft) 
    {
        this.partsSoft = partsSoft;
    }

    public Long getPartsSoft() 
    {
        return partsSoft;
    }
    public void setPartsClassification(String partsClassification) 
    {
        this.partsClassification = partsClassification;
    }

    public String getPartsClassification() 
    {
        return partsClassification;
    }
    public void setPartsUnit(String partsUnit) 
    {
        this.partsUnit = partsUnit;
    }

    public String getPartsUnit() 
    {
        return partsUnit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("storeId", getStoreId())
            .append("partsName", getPartsName())
            .append("partsNumber", getPartsNumber())
            .append("partsType", getPartsType())
            .append("partsDetails", getPartsDetails())
            .append("partsImages", getPartsImages())
            .append("isHotPush", getIsHotPush())
            .append("isShow", getIsShow())
            .append("partsSoft", getPartsSoft())
            .append("partsClassification", getPartsClassification())
            .append("partsUnit", getPartsUnit())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getPartsTypeName() {
        return partsTypeName;
    }

    public void setPartsTypeName(String partsTypeName) {
        this.partsTypeName = partsTypeName;
    }

    public List<ZsyhStoreAttributeself> getZsyhStorePartsattributeList() {
        return zsyhStorePartsattributeList;
    }

    public void setZsyhStorePartsattributeList(List<ZsyhStoreAttributeself> zsyhStorePartsattributeList) {
        this.zsyhStorePartsattributeList = zsyhStorePartsattributeList;
    }

    public BigDecimal getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(BigDecimal minPrice) {
        this.minPrice = minPrice;
    }

    public BigDecimal getMaxPrice() {
        return maxPrice;
    }

    public void setMaxPrice(BigDecimal maxPrice) {
        this.maxPrice = maxPrice;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
